<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>订餐系统</title>
<script type="text/javascript"
    src='<c:url value="/order/js/login.js"></c:url>'></script>
</head>
<body>
    <form action='<c:url value="/firstServlet"></c:url>' method="post">
        <table>
            <tr>
                <th colspan="3">登录窗口</th>
            </tr>
            <tr>
                <td>用户名：</td>
                <td><input type="text" id="username"
                    name="username" onkeyup="checkForm('username')" /></td>
                <td width="150px">
                    <div id="username_tips"></div>
                </td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input type="password" id="password"
                    name="password" onkeyup="checkForm('password')" /></td>
                <td width="150px">
                    <div id="password_tips"></div>
                </td>
            </tr>
            <tr>
                <td colspan="3"><input type="button" value="登录"
                    onclick="mySubmit()" /><a
                    href='<c:url value="/order/jsp/register.jsp"></c:url>'>用户注册</a></td>
            </tr>
        </table>
    </form>
</body>
</html>